package net.zkbc.helloworld.entity;

import java.io.Serializable;

import net.zkbc.shiro.entity.ShiroResource;

public class Resource implements Serializable, ShiroResource {

	private static final long serialVersionUID = 1L;

	private Long id;
	private String pattern;
	private String permission;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Override
	public String getPattern() {
		return pattern;
	}

	public void setPattern(String pattern) {
		this.pattern = pattern;
	}

	@Override
	public String getPermission() {
		return permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

}
